package com.chf.job.service;

import com.chf.job.pojo.User;

public interface UserService {
    boolean verifyEmail(String email);

    int addUser(String email, String password, Integer type);

    User login(String email, String password);

    int checkPwd(String email);

    int updatePwd(String email, String newPwd);

    int findPwd(String email, String oldPwd);

    User getUserBaseInfo(String email);

    void updateUserName(String email, String userName);

}
